package com.computergames.server.service.Interface;

import com.computergames.server.message.AbstractGameMessage;
import com.computergames.server.message.chessMessage.AbstractChessMessage;
import io.netty.channel.ChannelHandlerContext;
import org.springframework.stereotype.Service;

@Service
public interface RuleDetermination {
    // 先获取棋局状态
    // 根据棋局状态做规则判定
    int ruleDetermination(String roomName, AbstractGameMessage content, ChannelHandlerContext ctx);
}
